package com.cax.module.file.domain.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "File2VO", description = "文件VO")
public class File2VO {

	public File2VO(){

	}

	public File2VO(Long id,String originalName,String accessUrl){
		this.id = id;
		this.originalName = originalName;
		this.accessUrl = accessUrl;
	}

	public File2VO(Long id,String originalName,String accessUrl,String suffix){
		this.id = id;
		this.originalName = originalName;
		this.accessUrl = accessUrl;
		this.suffix = suffix;
	}

    @ApiModelProperty(value = "文件表-主键id")
    private Long id;

	@ApiModelProperty(value = "文件原名")
	private String originalName;

	@ApiModelProperty(value = "文件在网络上的访问地址")
	private String accessUrl;

	@ApiModelProperty(value = "文件后缀")
	private String suffix;

}

